From be0d41dc77873122db85a003278363378812636d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 30 Jan 2006 18:24:26 +0000 Subject: [PATCH] Make sure the tree view is realized, since we grab the focus to it. 2006-01-30 Matthias Clasen * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): Make sure the tree view is realized, since we grab the focus to it. (#329144, Wouter Bolsterlee) --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ gtk/gtkentrycompletion.c | 2 ++ 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 14f0c6c41a..fb6cdbaeda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-01-30 Matthias Clasen + * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): + Make sure the tree view is realized, since we grab the + focus to it. (#329144, Wouter Bolsterlee) + * gtk/gtkspinbutton.h: * gtk/gtkspinbutton.c: Add a wrapped signal. (#322933, Carlos Garnacho Parro) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 14f0c6c41a..fb6cdbaeda 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,9 @@ 2006-01-30 Matthias Clasen + * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): + Make sure the tree view is realized, since we grab the + focus to it. (#329144, Wouter Bolsterlee) + * gtk/gtkspinbutton.h: * gtk/gtkspinbutton.c: Add a wrapped signal. (#322933, Carlos Garnacho Parro) diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index c7c6a25366..7ebfe5b1eb 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -1347,6 +1347,8 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion) NULL); height += vertical_separator; + + gtk_widget_realize (completion->priv->tree_view); if (items <= 0) gtk_widget_hide (completion->priv->scrolled_window); -- 2.30.2